Skip to content

Remove StringUtil::atoll, convert caller to absl::SimpleAtoi#6707

Merged
htuch merged 1 commit intoenvoyproxy:masterfrom
dnoe:remove-atoll
Apr 25, 2019
Merged

Remove StringUtil::atoll, convert caller to absl::SimpleAtoi#6707
htuch merged 1 commit intoenvoyproxy:masterfrom
dnoe:remove-atoll

Conversation

@dnoe
Copy link
Contributor

@dnoe dnoe commented Apr 25, 2019

Description: absl::SimpleAtoi takes absl::string_view argument and can replace all of the calls to StringUtil::atoll that are using Base 10 conversion, which turns out to be all of them. This PR removes StringUtil::atoll entirely and migrates all callers to absl::SimpleAtoi.

Risk Level: Low
Testing: bazel test //test/...
Docs Changes: N/A
Release Notes: N/A
Part of: Issue #6580

Signed-off-by: Dan Noé dpn@google.com

Signed-off-by: Dan Noé <dpn@google.com>
@dnoe dnoe requested a review from lizan as a code owner April 25, 2019 17:24
@dnoe
Copy link
Contributor Author

dnoe commented Apr 25, 2019

/retest

@repokitteh-read-only
Copy link

🔨 rebuilding ci/circleci: build_image (failed build)
🔨 rebuilding ci/circleci: coverage (failed build)
🔨 rebuilding ci/circleci: asan (failed build)
🔨 rebuilding ci/circleci: compile_time_options (failed build)
🔨 rebuilding ci/circleci: release (failed build)
🔨 rebuilding ci/circleci: docs (failed build)
🔨 rebuilding ci/circleci: api (failed build)
🔨 rebuilding ci/circleci: tsan (failed build)
🔨 rebuilding ci/circleci: clang_tidy (failed build)
🔨 rebuilding ci/circleci: format (failed build)
🔨 rebuilding ci/circleci: filter_example_mirror (failed build)

🐱

Caused by: a #6707 (comment) was created by @dnoe.

see: more, trace.

Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice cleanup!

@htuch htuch merged commit df5de28 into envoyproxy:master Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants